package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类  | 引导类
 * @author lixu
 */
@SpringBootApplication
//相当于原来Mybatis同包且同名的基本包
@MapperScan(basePackages = {"com.qf.mapper","com.qf.dao"})
public class SpringBootMybatisApplication {


    public static void main(String[] args) {
        SpringApplication.run(SpringBootMybatisApplication.class,args);
    }
}
